#!usr/bin/env python  
# -*- coding: utf-8 -*-
""" 
@author:Simon
@file: objdemo06.py 
@time: 2018/01/18 
"""
class Student(object):
    name = "Student"

    def __init__(self,name):
        self.name = name

jay = Student('Bob')
jay.score = 99


def set_score(self, score):
    self.score = score

Student.set_score = set_score

jay.set_score(99)
print(jay.score)